.bar {
    height: 70px;
    padding: 15px 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    @media (min-width: 640px) {
        padding: 15px 15px;
    }
}

.open {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--image);
    font-weight: bold;
}

.close {
    cursor: pointer;
}

.img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 200px);

    @media (min-width: 640px) {
        max-width: 80vw;
    }
}